package com.spa.application.query.member;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Data
public class SmsQuery {

    @NotBlank(message = "手机号必填")
    @Size(min = 11, max = 11, message = "手机号只能为11位")
    private String phone;

}
